package com.hongkzh.www.look.enterprise.watch.view.customview;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;

import com.hongkzh.www.R;
import com.shuyu.gsyvideoplayer.video.NormalGSYVideoPlayer;
import com.shuyu.gsyvideoplayer.video.StandardGSYVideoPlayer;

/**
 * Created by asad on 2018/3/27.
 * 自定义视频播放控件
 */

public class MyGSY extends NormalGSYVideoPlayer {
    public MyGSY(Context context, Boolean fullFlag) {
        super(context, fullFlag);
    }

    public MyGSY(Context context) {
        super(context);
    }

    public MyGSY(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public int getLayoutId() {
        return R.layout.my_video_layout_normal;
    }

    @Override
    protected void init(final Context context) {
        super.init(context);

//        getFullscreenButton().setOnClickListener(new OnClickListener() {
//            @Override
//            public void onItemClick(View v) {
//                resolveFullVideoShow(context, this, null);
//            }
//        });
    }
}
